package ijen.fbconnect.helpers;

/**
 * Description of HelperFactory.
 * ---------------------------------------------------------------------------------------
 * User: fred
 * Date: 22 juil. 2009
 * Time: 09:37:53
 * ---------------------------------------------------------------------------------------
 */
public final class FBHelperFactory {

    private static final FBParametersHelper FBPARAMETERS_HELPER_INSTANCE;
    private static final FBLoginHelper      FBLOGIN_HELPER_INSTANCE;

    static {

        FBPARAMETERS_HELPER_INSTANCE = new FBParametersHelper();
        FBLOGIN_HELPER_INSTANCE = new FBLoginHelper();
    }

    private FBHelperFactory() {
        throw new AssertionError("Must not be instanciated in any way (static factory)");
    }

    public static FBParametersHelper getFBParametersHelper() {
        return FBPARAMETERS_HELPER_INSTANCE;
    }

    public static FBLoginHelper getFBLoginHelper() {
        return FBLOGIN_HELPER_INSTANCE;
    }
}
